<div class="tab-box">
    <ul>
        <li ng-repeat="(i,item) in tabMenu.children track by $index" 
        	ui-sref="{{item.state}}({id:item.id})"
        	ng-class="{active:i==2}">
        	{{item.name}}
        </li>
    </ul>
</div>

<div class="section-search">
	<span class="line-block">
        <button class="btn btn-success search-btn"
        	ng-click="operation('alert@addposition',{})"
        	 style="background:#2f3847">
        	添加职位
        </button>
    </span>
    <span class="line-block fontSize-i">
		<i class="icon icon-info" style="color: #46ac49;vertical-align: middle;" ></i>
		添加员工需要先添加好职位
	</span>
</div>
<div class="dataList">
    <table class="table">
        <thead>
        <tr>
            <th width="10%">全选</th>
            <th width="10%">操作</th>
            <th width="10%">职位名称</th>
            <th width="10%">人数（人）</th>
            <th width="10%"></th>
            <th width="10%"></th>
            <th width="10%"></th>
            <th width="10%"></th>
            <th width="10%"></th>
            <th width="10%"></th>
        </tr>
        </thead>
        <tbody>
        <tr ng-if="isData" class="_loading">
            <td colspan="10">
                <div class="no_data" ng-if="isData">暂时找不到数据</div>
            </td>
        </tr>
        <tr ng-repeat="(i,item) in param1.dataList track by $index " ng-click="$_fn.tabClick($event)">
            <td>
            	<input type="checkbox" name="ch_id" value="{{item.id}}">
            </td>
            <td>
              	<dropdown placeholder="请选择" ng-click="$event.stopPropagation();">
                    <li ng-repeat="(i,list) in subMenu track by $index" ng-if="list.state==1" 
                    	ng-click="operation(list.path,{id:item.id,name:item.name})">
                    	{{list.name}}
                    </li>
                </dropdown>
            </td>
            <td>{{item.name}}</td>
            <td>{{item.persons}}</td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        </tbody>
    </table>
</div>
<div class="page" ng-if="!isData">
    <pages total="{{param1.page.total}}" current="param1.page.pageNum" page-size="{{param1.page.pageSize}}"></pages>
</div>
